//
//  ANOrderPayController.h
//  WeiYiMei
//
//  Created by iMac on 2019/4/13.
//  Copyright © 2019年 liyefu. All rights reserved.
//

#import "ANBaseViewController.h"
#import "GoodsInfoEntity.h"
#import "ShoppingCartEntity.h"
#import "OrderEntity.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum : NSUInteger {
    ANOrderPayControllerTypeGoodsInfo, //商品详情
    ANOrderPayControllerTypeShoppingCart,// 购物车
    ANOrderPayControllerTypeMineOrder,// 我的未支付订单
} ANOrderPayControllerType;

@interface ANOrderPayController : ANBaseViewController

@property (nonatomic, assign) ANOrderPayControllerType type;

// 商品详情传入的商品数据
@property (nonatomic, strong) GoodsInfoTotalEntity *goodsInfoEntity;

// 购物车传入的商品数据
//@property (nonatomic, strong) ShoppingCartEntity *shoppingCartEntity;
@property (nonatomic, copy) NSString *shoppingCartId;

// 我的未支付订单传入的数据
@property (nonatomic, strong) OrderEntity *orderEntity;

@property (nonatomic) int goodsNum;// 订单数
@property (nonatomic, copy) NSString *paramsName;//商品参数名
@property (nonatomic, copy) NSString *paramsId;//商品参数ID

@end

NS_ASSUME_NONNULL_END
